<template>
  <view>
    测试数据仓库
    <view>{{ counter.count }}</view>
    <view>double{{ counter.double }}</view>
    <view>info --- {{ counter.info }} --------</view>
    <button @click="counter.increment">累加</button>
    <button @click="counter.decrement">累减</button>
    <button @click="counter.decrementAge">年龄累加</button>
  </view>
</template>

<script setup lang="ts">
  import { useCounterStore } from '@/sotre/counter'
  const counter = useCounterStore()
</script>

<style></style>
